package com.resou.reader.api.entry;

import java.util.List;

/**
 * Created by ${Garrett} on 2018/10/26.
 * Contact me krouky@outlook.com
 */
public final class ConsumptionDetailBean {

    public boolean isExpand() {
        return expand;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public boolean getExpand() {
        return expand;
    }

    /**
     * bookName : 龙魂特种兵
     * consumeTimeMills : 1540459648
     * totalPrice : 10
     * voucherUse : 10
     * currencyUse : 0
     * consumePath : null
     * orderId : 65
     * consumptionItems : [{"bookName":"龙魂特种兵","chapterName":"第4075章 白虎（第9更！）"}]
     */
    private boolean expand = false;//是否处于展开的状态

    private String bookName;
    private long consumeTimeMills;
    private int totalPrice;
    private int voucherUse;
    private int currencyUse;
    private String consumePath;
    private int orderId;
    private List<ConsumptionItemsBean> consumptionItems;

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public long getConsumeTimeMills() {
        return consumeTimeMills;
    }

    public void setConsumeTimeMills(long consumeTimeMills) {
        this.consumeTimeMills = consumeTimeMills;
    }

    public int getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(int totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getVoucherUse() {
        return voucherUse;
    }

    public void setVoucherUse(int voucherUse) {
        this.voucherUse = voucherUse;
    }

    public int getCurrencyUse() {
        return currencyUse;
    }

    public void setCurrencyUse(int currencyUse) {
        this.currencyUse = currencyUse;
    }

    public String getConsumePath() {
        return consumePath;
    }

    public void setConsumePath(String consumePath) {
        this.consumePath = consumePath;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public List<ConsumptionItemsBean> getConsumptionItems() {
        return consumptionItems;
    }

    public void setConsumptionItems(List<ConsumptionItemsBean> consumptionItems) {
        this.consumptionItems = consumptionItems;
    }

    public static class ConsumptionItemsBean {
        /**
         * bookName : 龙魂特种兵
         * chapterName : 第4075章 白虎（第9更！）
         */

        private String bookName;
        private String chapterName;

        public String getBookName() {
            return bookName;
        }

        public void setBookName(String bookName) {
            this.bookName = bookName;
        }

        public String getChapterName() {
            return chapterName;
        }

        public void setChapterName(String chapterName) {
            this.chapterName = chapterName;
        }
    }
}
